package com.changgou.seckill.feign;

import com.changgou.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author kfzhao
 * @version 1.0
 * @interfaceName SeckillOrderFeign
 * @description
 * @date 2022/1/7 0:46
 **/
@FeignClient(name = "seckill")
public interface SeckillOrderFeign {

    @RequestMapping("/seckillorder/add")
    Result add(@RequestParam("time") String time, @RequestParam("id") Long id);
}
